package models

import (
	"time"
)

type Returnrequest struct {
	Id int64 `xorm:"oid"`

	Storeid               int       `json:"StoreId" xorm:"not null INTEGER"`
	Orderitemid           int       `json:"OrderItemId" xorm:"not null INTEGER"`
	Customerid            int       `json:"CustomerId" xorm:"not null INTEGER"`
	Quantity              int       `json:"Quantity" xorm:"not null INTEGER"`
	Reasonforreturn       string    `json:"ReasonForReturn" xorm:"not null VARCHAR"`
	Requestedaction       string    `json:"RequestedAction" xorm:"not null VARCHAR"`
	Customercomments      string    `json:"CustomerComments" xorm:"VARCHAR"`
	Staffnotes            string    `json:"StaffNotes" xorm:"VARCHAR"`
	Returnrequeststatusid int       `json:"ReturnRequestStatusId" xorm:"not null INTEGER"`
	Createdonutc          time.Time `json:"CreatedOnUtc" xorm:"not null DATETIME"`
	Updatedonutc          time.Time `json:"UpdatedOnUtc" xorm:"not null DATETIME"`
}
